package com.h3c.nem.config.proConfig;

import com.h3c.nem.config.properties.EmailAttachmentProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author chenyifan
 * @date 2022/6/20 17:07
 */
@Configuration
public class EmailAttachmentPropertiesConfig {

    @Bean("baseOfferAttachment")
    @ConfigurationProperties(prefix = "offer.attachment")
    public EmailAttachmentProperties getProperties() {
        return new EmailAttachmentProperties();
    }
}
